/*****************************************************************************
**  Project       
**  (c) copyright 2023

**  Company       
**                All rights reserved
**  Secrecy Level STRICTLY CONFIDENTIAL
*******************************************************************************
**
**          File  : CAP_InteractionIfal.c
**          Description: 信号操作接口的定义
**          Author: mcu_tools
**
**          Date  : 2023-07-04 16:37:54
**
******************************************************************************/


#ifndef _CAP_INTERACTIONIFAL_H_
#define _CAP_INTERACTIONIFAL_H_

#undef EXTERN
#ifndef _CAP_INTERACTIONIFAL_C_
#define EXTERN extern
#else
#define EXTERN
#endif

#include "Plm_Types.h"
#include "Plm_IApp_Types.h"
#include "Rte_Temp.h"


#define BeanIDReq_NONE      0x0
#define BeanIDReq_ING       0x1
#define BeanIDReq_Suss      0x2
#define BeanIDReq_Failed    0x3
#define BeanIDReq_END       0x4

#define BeanIDReq_NoAction 0x0
#define BeanIDReq_Request  0x1
#define BeanIDReq_Clear    0x2
#define BeanIDReq_Reserved 0x3

#define NFCInfoReq_NoAction 0x0
#define NFCInfoReq_HutReady 0x1
#define NFCInfoReq_Request  0x2
#define NFCInfoReq_Clear    0x3

#define SeatBind_NoCmd 0x0
#define SeatBind_BindingAccount 0x1
#define SeatBind_BringupAccount 0x2
#define SeatBind_UnbindAccount 0x3

#define DefaltUserId_Index 0

#define R_DRVMODREQ_HUTFD1A        0x1
#define R_DRVMODREQ_BHUTFD1        0x2
#define R_DRVMODREQ_HUT10          0x3

#define R_SNOWMODE_HUTFD1A         0x1
#define R_SNOWMODE_BHUTFD1         0x5
#define R_SNOWMODE_HUT10           0x3

#define DOCK2_NFCDATA_DEV_TYPE          0x0     // LEN: 3
#define DOCK2_NFCDATA_DEV_CONNECTOR     0x3
#define DOCK2_NFCDATA_MESSAGETYPE       0x6
#define DOCK2_NFCDATA_DATALENGTH        0x7
#define DOCK2_NFCDATA_BEANID            0x8     // LEN: 21
#define DOCK2_NFCDATA_RANDATA           0x1D    // LEN: 9

#define INTERACTION_CONFIG_PBU00   0x0
#define INTERACTION_CONFIG_PBU10   0x1
#define INTERACTION_CONFIG_PBU20   0x2
#define INTERACTION_CONFIG_PBU30   0x3

#define INTERACTION_CONFIG_ZV010   0x1
#define INTERACTION_CONFIG_ZV020   0x2
#define INTERACTION_CONFIG_ZV030   0x4

#define INTERACTION_CONFIG_ZL500   0x0
#define INTERACTION_CONFIG_ZL510   0x1
#define INTERACTION_CONFIG_ZL520   0x2
#define INTERACTION_CONFIG_ZL530   0x3

#define INTERACTION_CONFIG_PBW00   0x0
#define INTERACTION_CONFIG_PBW10   0x1
#define INTERACTION_CONFIG_PBW20   0x2
#define INTERACTION_CONFIG_PBW30   0x3

#define INTERACTION_CONFIG_ZV110   0x1
#define INTERACTION_CONFIG_ZV120   0x2
#define INTERACTION_CONFIG_ZV130   0x4


#define INTERACTION_CONFIG_ZV208   0x5
#define INTERACTION_CONFIG_ZV210   0x1
#define INTERACTION_CONFIG_ZV220   0x2
#define INTERACTION_CONFIG_ZV215   0x6

#define INTERACTION_CONFIG_ZV306   0x5
#define INTERACTION_CONFIG_ZV310   0x1
#define INTERACTION_CONFIG_ZV315   0x6
#define INTERACTION_CONFIG_ZV320   0x2
#define INTERACTION_CONFIG_ZV330   0x3

#define INTERACTION_CONFIG_ZS920   0x2
#define INTERACTION_CONFIG_ZS930   0x3


typedef struct DOCK2NfcData {
    uint8 dev_type[3];
    uint8 dev_connector;
    uint8 reserve1;
    uint8 reserve2;
    uint8 message_type;
    uint8 data_length;
    uint8 beanid[21];
    uint8 randata[9];
} DOCK2NfcData_t;


typedef struct {
    /* Parameter */
    uint8  u8AAA : 8;       // Byte 0 Bit7-Bit0, AAA, Project code
    uint8  u8ZQ3 : 8;       // Byte 85 Bit7-Bit0, ZQ3, driving mode 3
    uint8  u8BAF : 8;       // Byte 62 Bit7-Bit0, BAF, SPECIAL COUNTRY(EXPORT)
    uint8  u8DAA : 4;       // Byte 2 Bit7-Bit4, DAA, Fuel type
    uint8  u8CBA : 4;       // Byte 30 Bit7-Bit4, CBA, electromotor_position
    uint8  u8ZN4 : 2;       // Byte 68 Bit7-Bit6, ZN4, DMS configuration, refers to BVIMS

    /* 3车速关窗 */
    uint8  u8MAE : 4;       // Byte 49 Bit3-Bit0
    uint8  u8MAF : 4;       // Byte 50 Bit7-Bit4
    uint8  u8MAG : 4;       // Byte 50 Bit3-Bit0

    /* 4主动进入 */
    /* 5主动离开 */
    uint8  u8TDE : 3;       // Byte 56 Bit4-Bit2

    /* 7紧急制动灯 */
    uint8  u8TBM : 2;       // Byte 79 Bit7-Bit6

    /* 8雨刮间歇档位/灵敏度调节 */
    uint8  u8ZY1 : 2;       // Byte 101 Bit7-Bit6
    uint8  u8ZK6 : 4;       // Byte 154 Bit3-Bit0
    uint8  u8TAN : 4;       // Byte 36  Bit3-Bit0
    
    /* 9闭锁提示 */
    uint8  u8ZP6 : 2;       // Byte 80  Bit5-Bit4

    /* 12氛围灯分区控制 */
    uint8  u8ZQ6 : 2;       // Byte 84  Bit5-Bit4+2+
    
    /* 13多色彩静态轮廓氛围灯 */
    /* 14呼吸灯轮廓氛围灯 */
    uint8  u8SAQ : 4;       // Byte 10  Bit7-Bit4

    /* 15解锁灯光秀 */
    uint8  u8ZBC : 4;       // Byte 138   Bit3-Bit0
    uint8  u8ZR0 : 3;       // Byte 91    Bit7-Bit5

    /* 16大灯控制 */
    uint8  u8ZG0 : 2;       // Byte 100    Bit5-Bit4
    /* 17 主驾座椅按摩记忆外发控制 */
    uint8 u8PBU:    2;
    uint8 u8ZV0:    3;
    uint8 u8ZL5:    2;
    /* 18 主驾座椅按摩记忆外发控制 */
    uint8 u8PBW:    2;
    uint8 u8ZV1:    3;
    /* 19 二排座椅按摩记忆外发控制 */
    uint8 u8ZV2:    3;
    uint8 u8ZV3:    3;
    uint8 u8ZS9:    3;
    uint8  u8Reserved : 2;

} ParameterIA_t;


void get_interaction_parameter_data(ParameterIA_t* value);

// channel: 0
// state: 0x2 <= state normal, state < 2 no_comm
uint8 get_ComMState(uint8 Channel, uint8 *state);
boolean get_canSend_Conditions(void);

void get_interaction_can_BLE1_BLEConnSts(uint8 *value);
void get_interaction_can_BLE1_BLESecuritySts(uint8 *value);

void get_interaction_can_BLE5_BLE_BeanID(uint8 *value);
// void get_interaction_can_WPC2_2_NFCInfoReply(uint64 *value);

// 0x0: No action
// 0x1: Request
// 0x2: Clear Data
// 0x3: Reserved
void send_interaction_can_HUT10_HUT_BeanIDReq(uint8 value);

// 0x00: No action
// 0x01: HUT Ready
// 0x02: Request Data
// 0x03: Clear Data
// void send_interaction_can_HUT35_NFCInfoReq(uint8 value);

// can id: 0x1DF
void get_interaction_can_DOCK2_DOCK_HUT_ExternalDevice_E(uint8 *value);

void send_interaction_can_HUT1_TranPMode_Req(uint8 value);


/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */
//自动生成代码区间/* *** */

/* E_IAPP_CarSettingsFormA */
/* HUT1, id: 871  0x367 */
void send_interaction_can_HUT1_DomeLmpDlyTimSet(uint8 value);

/* HUT1, id: 871  0x367 */
void send_interaction_can_HUT1_FolwMeHomeDlyTimSet(uint8 value);

/* HUT1, id: 871  0x367 */
void send_interaction_can_HUT1_BattSaveDelayTimeSet(uint8 value);

/* HUT15, id: 494  0x1ee */
void send_interaction_can_HUT15_SportModLightSet(uint8 value);

/* HUT15, id: 494  0x1ee */
void send_interaction_can_HUT15_SeekVehSet(uint8 value);

/* HUT33, id: 493  0x1ed */
void send_interaction_can_HUT33_ApproachLampSet(uint8 value);

/* HUT40, id: 548  0x224 */
void send_interaction_can_HUT40_ALCMMasterSwt(uint8 value);

/* HUT10, id: 817  0x331 */
void send_interaction_can_HUT10_ALCMClrSet(uint8 value);

/* HUT10, id: 817  0x331 */
void send_interaction_can_HUT10_ALCMDynSwt(uint8 value);

/* HUT10, id: 817  0x331 */
void send_interaction_can_HUT10_ALCMRhmSwt(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_ALCMLightLvlSet(uint8 value);

/* HUT33, id: 493  0x1ed */
void send_interaction_can_HUT33_ALCMDynModSet(uint8 value);

/* HUT3, id: 875  0x36b */
void send_interaction_can_HUT3_AMP_MainVolSet(uint8 value);

/* HUT40, id: 548  0x224 */
void send_interaction_can_HUT40_ALCMPartitionSwt(uint8 value);

/* HUT1, id: 871  0x367 */
void send_interaction_can_HUT1_RearviewFoldModSet(uint8 value);

/* HUT1, id: 871  0x367 */
void send_interaction_can_HUT1_ChairMemPosnEna(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_HFASwtSts(uint8 value);

/* HUT15, id: 494  0x1ee */
void send_interaction_can_HUT15_AutoWshWipSet(uint8 value);

/* HUT15, id: 494  0x1ee */
void send_interaction_can_HUT15_DoorUnlockModSet(uint8 value);

/* HUT15, id: 494  0x1ee */
void send_interaction_can_HUT15_SpdAutoLockModSet(uint8 value);

/* HUT33, id: 493  0x1ed */
void send_interaction_can_HUT33_FlaoutUnlockSet(uint8 value);

/* HUT33, id: 493  0x1ed */
void send_interaction_can_HUT33_SuperLockSet(uint8 value);

/* HUT1, id: 871  0x367 */
void send_interaction_can_HUT1_DrvDrowsnsDetnSet(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_DSTSwtReq(uint8 value);

/* HUT13, id: 796  0x31c */
void send_interaction_can_HUT13_OrvmPosnEnaSts(uint8 value);

/* HUT35, id: 485  0x1e5 */
void send_interaction_can_HUT35_ActvEnterSet(uint8 value);

/* HUT35, id: 485  0x1e5 */
void send_interaction_can_HUT35_ActvLeaveSet(uint8 value);

/* HUT2, id: 873  0x369 */
void send_interaction_can_HUT2_AncSwtSet(uint8 value);

/* HUT10, id: 817  0x331 */
void send_interaction_can_HUT10_ALCMStatSwt(uint8 value);

/* HUT35, id: 485  0x1e5 */
void send_interaction_can_HUT35_LockWinSet(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_ELKSwtReq(uint8 value);

/* HUT45, id: 476  0x1dc */
void send_interaction_can_HUT45_DrvSeatMassgModSet(uint8 value);

/* HUT45, id: 476  0x1dc */
void send_interaction_can_HUT45_PassSeatMassgModSet(uint8 value);

/* HUT3, id: 875  0x36b */
void send_interaction_can_HUT3_QLIPLUSSURROUNDSET(uint8 value);

/* HUT41, id: 507  0x1fb */
void send_interaction_can_HUT41_ALCMBRESWT(uint8 value);

/* HUT7, id: 68  0x44 */
void send_interaction_can_HUT7_ChairMemPosnEna_Pass(uint8 value);


/* E_IAPP_CarSettingsHUD */
/* HUT33, id: 493  0x1ed */
void send_interaction_can_HUT33_Hud_VibrationCorrn(uint8 value);

/* HUT30, id: 489  0x1e9 */
void send_interaction_can_HUT30_HUD_SwtReq(uint8 value);


/* E_IAPP_VimsDms */
/* HUT30, id: 489  0x1e9 */
void send_interaction_can_HUT30_FaceIdnSet(uint8 value);

/* HUT30, id: 489  0x1e9 */
void send_interaction_can_HUT30_DistrctnDetnSet(uint8 value);

/* HUT30, id: 489  0x1e9 */
void send_interaction_can_HUT30_DistrctnDetnSet(uint8 value);

/* HUT30, id: 489  0x1e9 */
void send_interaction_can_HUT30_ExprsnSetUp(uint8 value);

/* HUT25, id: 825  0x339 */
void send_interaction_can_HUT25_GazeAreaInteractionSetUp(uint8 value);

/* HUT39, id: 491  0x1eb */
void send_interaction_can_HUT39_DrvBehvTestSetUp(uint8 value);


/* E_IAPP_VimsOms */

/* E_IAPP_DoorSeatModule */
/* HUT30, id: 489  0x1e9 */
void send_interaction_can_HUT30_PPMIBSRSwtSet(uint8 value);

/* HUT4, id: 877  0x36d */
void send_interaction_can_HUT4_ElecSideSteppingSysSet(uint8 value);

/* HUT4, id: 877  0x36d */
void send_interaction_can_HUT4_AllTerrainDislSet(uint8 value);

/* HUT4, id: 877  0x36d */
void send_interaction_can_HUT4_RoofModSet(uint8 value);

/* HUT15, id: 494  0x1ee */
void send_interaction_can_HUT15_ParkLmpSet(uint8 value);

/* HUT30, id: 489  0x1e9 */
void send_interaction_can_HUT30_PPMIHWSwtSet(uint8 value);

/* HUT13, id: 796  0x31c */
void send_interaction_can_HUT13_DampgDrvModeReq(uint8 value);

/* HUT39, id: 491  0x1eb */
void send_interaction_can_HUT39_LOCKPROMPTFUNSET(uint8 value);


/* E_IAPP_Adas */
/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_SSSSet_HUT(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_FCW_SnvtySet(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_AESSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_LDWSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_LKASwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_LCKSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_IFC_SnvtySet(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_LSSSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_LSSWarnFormSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_IntelligentevaSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_LCASwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_RCTASwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_RCTABrkSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_DOWSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_RCWSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_TSRSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_TSRWarnSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_TSR_SnvtySet(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_ISLSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_ALC_SwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_HWA_SnvtySet(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_HWA_SwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_ESS_PedSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_ESS_VehSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_FCTASwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_FCTABrkSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_AEB_VehSwtReq(uint8 value);


/* E_IAPP_SeatMirrorBind */

/* E_IAPP_new_energy */
/* HUT10, id: 817  0x331 */
void send_interaction_can_HUT10_HUT_EgyRecvrySet(uint8 value);


/* E_IAPP_APP_RVCAVM_TYPE */
/* HUT13, id: 796  0x31c */
void send_interaction_can_HUT13_EmgyVideoUploadSwtSts(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_IDSTS(uint8 value);


/* E_IAPP_HVAC_TYPE */
/* HUT45, id: 476  0x1dc */
void send_interaction_can_HUT45_SMTACSWT(uint8 value);

/* HUT45, id: 476  0x1dc */
void send_interaction_can_HUT45_INCARTEMPMAXSET(uint8 value);

/* HUT45, id: 476  0x1dc */
void send_interaction_can_HUT45_INCARTEMPMINSET(uint8 value);

/* HUT48, id: 500  0x1f4 */
void send_interaction_can_HUT48_LSideOutletModSet(uint8 value);

/* HUT48, id: 500  0x1f4 */
void send_interaction_can_HUT48_RSideOutletModSet(uint8 value);


/* E_IAPP_APP_RVCAVM_TYPE */

/* E_IAPP_HUT_Settings */
/* HUT39, id: 491  0x1eb */
void send_interaction_can_HUT39_ClsWinSpdSet(uint8 value);

/* HUT39, id: 491  0x1eb */
void send_interaction_can_HUT39_ActvEntryUnlockSet(uint8 value);

/* HUT39, id: 491  0x1eb */
void send_interaction_can_HUT39_ActvEntryLockSet(uint8 value);

/* HUT51, id: 745  0x2e9 */
void send_interaction_can_HUT51_IntellgntPLGateEnaSwt(uint8 value);

/* HUT15, id: 494  0x1ee */
void send_interaction_can_HUT15_ABSLmpSet(uint8 value);

/* HUT44, id: 295  0x127 */
void send_interaction_can_HUT44_RLSSensitivityReq_HUT(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_SteerCorrnReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_HUT_DrvModReq(uint8 value);

/* HUT45, id: 476  0x1dc */
void send_interaction_can_HUT45_UnlockWelLightSwt(uint8 value);

/* HUT44, id: 295  0x127 */
void send_interaction_can_HUT44_PosnLmpSwtSts_HUT(uint8 value);

/* HUT44, id: 295  0x127 */
void send_interaction_can_HUT44_LowBeamSwtSts_HUT(uint8 value);

/* HUT44, id: 295  0x127 */
void send_interaction_can_HUT44_AutoLmpSwtSts_HUT(uint8 value);

/* HUT17, id: 827  0x33b */
void send_interaction_can_HUT17_BackgroundLightLvlSet(uint8 value);

/* HUT41, id: 507  0x1fb */
void send_interaction_can_HUT41_LeftPanelALCMSwt(uint8 value);

/* HUT39, id: 491  0x1eb */
void send_interaction_can_HUT39_DrvDoorALCMSwt(uint8 value);

/* HUT41, id: 507  0x1fb */
void send_interaction_can_HUT41_RoofALCMSwt(uint8 value);

/* HUT41, id: 507  0x1fb */
void send_interaction_can_HUT41_RightPanelALCMSwt(uint8 value);

/* HUT41, id: 507  0x1fb */
void send_interaction_can_HUT41_FootALCMSwt(uint8 value);

/* HUT39, id: 491  0x1eb */
void send_interaction_can_HUT39_PassDoorALCMSwt(uint8 value);

/* HUT41, id: 507  0x1fb */
void send_interaction_can_HUT41_LRDoorALCMSwt(uint8 value);

/* HUT41, id: 507  0x1fb */
void send_interaction_can_HUT41_RRDoorALCMSwt(uint8 value);


/* E_IAPP_PASSENGER_SEAT */
/* HUT7, id: 68  0x44 */
void send_interaction_can_HUT7_CHAIRMEMPOSNENA_PASS(uint8 value);


/* E_IAPP_C03_C01_TYPE */
/* HUT43, id: 509  0x1fd */
void send_interaction_can_HUT43_RLSeatMassgModSet(uint8 value);

/* HUT43, id: 509  0x1fd */
void send_interaction_can_HUT43_RRSeatMassgModSet(uint8 value);

/* HUT48, id: 500  0x1f4 */
void send_interaction_can_HUT48_WelChngEnaSwt(uint8 value);

/* HUT35, id: 485  0x1e5 */
void send_interaction_can_HUT35_SpoilerWelModSwt(uint8 value);

/* HUT35, id: 485  0x1e5 */
void send_interaction_can_HUT35_SpoilerFixModSwt(uint8 value);

/* HUT7, id: 68  0x44 */
void send_interaction_can_HUT7_SpoilerSpdSet(uint8 value);

/* HUT50, id: 502  0x1f6 */
void send_interaction_can_HUT50_UnfixMusicLightShowSwt(uint8 value);

/* HUT45, id: 476  0x1dc */
void send_interaction_can_HUT45_DoorCtrlLightSwt(uint8 value);

/* HUT46, id: 477  0x1dd */
void send_interaction_can_HUT46_LOutletSet(uint8 value);

/* HUT46, id: 477  0x1dd */
void send_interaction_can_HUT46_CLOutletSet(uint8 value);

/* HUT46, id: 477  0x1dd */
void send_interaction_can_HUT46_CROutletSet(uint8 value);

/* HUT46, id: 477  0x1dd */
void send_interaction_can_HUT46_ROutletSet(uint8 value);

/* HUT7, id: 68  0x44 */
void send_interaction_can_HUT7_ALCMSTATSWT_OLE(uint8 value);

/* HUT7, id: 68  0x44 */
void send_interaction_can_HUT7_ALCMDYNMODSET_OLE(uint8 value);

/* HUT7, id: 68  0x44 */
void send_interaction_can_HUT7_ALCMRHMSWT_OLE(uint8 value);

/* HUT7, id: 68  0x44 */
void send_interaction_can_HUT7_ALCMBRESWT_OLE(uint8 value);

/* HUT41, id: 507  0x1fb */
void send_interaction_can_HUT41_ALCMFLOSWT(uint8 value);

/* HUT7, id: 68  0x44 */
void send_interaction_can_HUT7_ALCMClrSet_OLE(uint8 value);

/* HUT45, id: 476  0x1dc */
void send_interaction_can_HUT45_ApprLightSwt(uint8 value);

/* HUT39, id: 491  0x1eb */
void send_interaction_can_HUT39_BTAPAEntryLockSet(uint8 value);

/* HUT39, id: 491  0x1eb */
void send_interaction_can_HUT39_BTAPALvngUnlockSet(uint8 value);

/* HUT28, id: 704  0x2c0 */
void send_interaction_can_HUT28_CUSTOMFCTNSTS(uint8 value);

/* HUT44, id: 295  0x127 */
void send_interaction_can_HUT44_AutoHiLowBeamSwtSts_HUT(uint8 value);

/* HUT_FD3, id: 579  0x243 */
void send_interaction_can_HUT_FD3_TraLightSwtReq(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_ElectcGlvdBoxModSts(uint8 value);

/* HUT3, id: 875  0x36b */
void send_interaction_can_HUT3_SurrVoiceSet(uint8 value);

/* HUT3, id: 875  0x36b */
void send_interaction_can_HUT3_PreBassSet(uint8 value);

/* HUT29, id: 860  0x35c */
void send_interaction_can_HUT29_PodDefineFullOpenDegReq(uint8 value);

/* HUT29, id: 860  0x35c */
void send_interaction_can_HUT29_PodOpenSpdReq(uint8 value);

/* HUT29, id: 860  0x35c */
void send_interaction_can_HUT29_PodHndFeelSetReq(uint8 value);

/* HUT29, id: 860  0x35c */
void send_interaction_can_HUT29_PodPowerModSts(uint8 value);


/* E_IAPP_EU_TYPE */
/* HUT17, id: 827  0x33b */
void send_interaction_can_HUT17_BackgroundLightLvlSet(uint8 value);

/* HUT7, id: 68  0x44 */
void send_interaction_can_HUT7_UltrAntitheftSwt(uint8 value);

/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_IntellgntcurveReq(uint8 value);


/* E_IAPP_APP_LOGIN_TYPE */
/* HUT_FD1, id: 707  0x2c3 */
void send_interaction_can_HUT_FD1_IDSTS(uint8 value);


/* E_IAPP_APP_WIND */
/* HUT4, id: 877  0x36d */
void send_interaction_can_HUT4_DrvSeatVentnLvlSet(uint8 value);

/* HUT4, id: 877  0x36d */
void send_interaction_can_HUT4_PassSeatHeatgLvlSet(uint8 value);

/* HUT4, id: 877  0x36d */
void send_interaction_can_HUT4_PassSeatVentnLvlSet(uint8 value);

/* HUT4, id: 877  0x36d */
void send_interaction_can_HUT4_RLSeatHeatgLvlSet(uint8 value);

/* HUT4, id: 877  0x36d */
void send_interaction_can_HUT4_RLSeatVentnLvlSet(uint8 value);

/* HUT4, id: 877  0x36d */
void send_interaction_can_HUT4_RRSeatHeatgLvlSet(uint8 value);

/* HUT4, id: 877  0x36d */
void send_interaction_can_HUT4_RRSeatVentnLvlSet(uint8 value);


/* E_IAPP_GetAll */

/* E_IAPP_GetSimple */

/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */

// to inc
void send_interaction_data(interaction_mdl_id_t id, uint8 *buf, uint16 size);
void rev_interaction_data(interaction_mdl_id_t id, uint8 *data);

int get_interaction_nvmdata(uint8 *value, int length);

// 0x0: NVM_REQ_OK
// 0x1: NVM_REQ_NOT_OK
int set_interaction_nvmdata(uint8 *value, int length);

// get powermode status
EXTERN  void get_interaction_io_IGN_State(uint8 *value);
EXTERN void get_interaction_can_PEPS2_SysPowerMod(uint8 *value);
EXTERN void get_interaction_can_PEPS2_SysPowerModVld(uint8 *value);
EXTERN void get_interaction_gauge_DispSpeed(uint16 *value);

/* get qnx beanId */
EXTERN void get_interaction_qnxBeanId(uint8 data[20]);

// set drivingmode default value
EXTERN void set_interaction_drivmode_defalutvalue(uint8 proj_code, uint8 fuel_cfg, uint8 position_cfg, uint8 driving_mode3, uint8 *value);

#endif  // _INTERACTION_INC_CAP_INTERACTIONIFAL_H_